<script setup>
import { reactive } from "vue";
const data = reactive({ num: 0 });
const data2 = reactive({ num: 3 })
const add = () => {
  data.num++;
  data2.num += 3;
};
</script>
<template>
  <div>{{ data.num }}</div>
  <div>{{ data2.num }}</div>
  <button @click="add">加一</button>
</template>
